<?php
header("content-type:text/html;charset=utf-8");
class Pople {
	public $name;
	public $sex;
	public $hight;
	public $weight;
	
    function getHight(){
		return $this->hight;
	}
	function getWeight(){
		return $this->weight;
	}
	
} 

$pople1 = new Pople();
$pople1->popleName = "张三";
$pople1->popleSex = "男";
$pople1->hight = 180;
$pople1->weight = 65;
echo $pople1->popleName;
echo "<br/>";
echo $pople1->popleSex;
echo "<br/>";
echo $pople1->getHight();
echo "<br/>";
echo $pople1->getWeight();
echo "<br/>";


